<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./src/react.js"></script>
    <script src="./src/react-dom.js"></script>
    <script src="./src/babel.js"></script>
</head>
<body>
    
</body>
<script>
    //   function Gou(){
    //         this.aa="aaa"
    //     }
    //     Gou.prototype.f=function(){
    //     }
    //     let o=new Gou();
        class Gou{
            constructor(){
                this.aa="aa"
            }

            f(){
                console.log("ffff")
            }
        }
        class Zi  extends Gou{
            constructor(){
                super();
                this.b="bbbbbbb"
            }
            f(){
                console.log("99999")
            }
        }


        const z= new Zi();
        console.log(z);
        z.f();

</script>
</html>